package com.hmall.search;

import com.hmall.common.config.DefaultFeignConfiguration;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/*
 *   Description SearchApplication
 *   @author zhangyan
 *   @time   2024/11/13
 */
@SpringBootApplication
@EnableRabbit
@EnableScheduling
@EnableFeignClients(defaultConfiguration = DefaultFeignConfiguration.class, basePackages = "com.hmall.common.client")
public class SearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class, args);
    }
}
